const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  cidcToken: state => state.user.cidcToken,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  permission_routes: state => state.permission.routes,
  topbarRouters:state => state.permission.topbarRouters,
  defaultRoutes:state => state.permission.defaultRoutes,
  sidebarRouters:state => state.permission.sidebarRouters,
  realname:state => state.user.realname,
  userId:state => state.user.userId,
  branchcodeName:state => state.user.branchcodeName,
  branchcode:state => state.user.branchcode,
  branchinnercode:state => state.user.branchinnercode,
  baseBranchinnercode:state => state.user.baseBranchinnercode,
  primaryDeptName:state => state.user.primaryDeptName,
  allList:state => state.common.allList,
  permitList:state => state.common.permitList,
  treePermitList:state => state.common.treePermitList,
  workStations:state => state.user.workStations,
  baseDeptCode:state => state.user.baseDeptCode,
  baseDeptId:state => state.user.baseDeptId,
  baseDeptName:state => state.user.baseDeptName
}
export default getters
